import { create } from 'zustand/react'

export const useThemeStore = create((set)=>({
  dark: false,
  switchDark: ()=> set(state => ({ dark: !state.dark }))
}))
